package com.zretc.entity;

/**
 * 地址类
 *
 * @author: bLUeSuMMerDreamer
 * @createTime: 2020-07-21 10:45
 */
public class Address {
    //地址Id
    private String addressId;
    //详细地址
    private String addressName;
    //纵坐标
    private Double lng;
    //横坐标
    private Double lat;
    private String city;
    private String province;
    //行政区
    private String district;
    //地址编码
    private String adCode;
    //城市编码
    private String cityCode;

    public Address(String addressId, String addressName, Double lng, Double lat, String city, String province, String district, String adCode, String cityCode) {
        this.addressId = addressId;
        this.addressName = addressName;
        this.lng = lng;
        this.lat = lat;
        this.city = city;
        this.province = province;
        this.district = district;
        this.adCode = adCode;
        this.cityCode = cityCode;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressId='" + addressId + '\'' +
                ", addressName='" + addressName + '\'' +
                ", lng=" + lng +
                ", let=" + lat +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", district='" + district + '\'' +
                ", adCode='" + adCode + '\'' +
                ", cityCode='" + cityCode + '\'' +
                '}';
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }


    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAdCode() {
        return adCode;
    }

    public void setAdCode(String adCode) {
        this.adCode = adCode;
    }


    public Address() {
    }
}
